import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);
const vuexStore = new Vuex.Store({
	state: {
		userInfo: {}
	},
	mutations: {
		setUserInfo(state, obj) {
			state.userInfo = obj
			uni.setStorageSync('userInfo', obj)
		}
	},
	actions: {
		
	},
	getUser: {

	},
});

export default vuexStore
